﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManagerMain.aspx.cs" Inherits="WebApp.ManagerMain" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>后台管理系统</title>
</head>
<body>
    <form id="form1" runat="server">

  
    <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/Manager.jpg" Height="183px" style="margin-top: 0px" Width="1368px" />
  

        <p>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:Timer ID="Timer1" runat="server" Interval="1000" OnTick="Timer1_Tick">
            </asp:Timer>
        </p>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Label ID="lblTime" runat="server"></asp:Label>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="DataBinding" />
            </Triggers>
        </asp:UpdatePanel>
        <p style="width: 800px">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="lblAdmin" runat="server" Text="管理员后台管理页" Font-Size="Larger" ForeColor="#FFCCCC" Height="27px"  Width="1368px" BackColor="#666699" BorderColor="White"></asp:Label>      
        </p>
        <p style="width: 1365px; text-align: center;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="lblNotice" runat="server" ForeColor="#CC6600"></asp:Label>
        </p>
        <div style="text-align: center; width: 1360px; height: 210px;">
            <asp:Label ID="Label7" runat="server" Text="姓名："></asp:Label>
            <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
            <asp:Button ID="btnSearchOne" runat="server" BackColor="#666699" ForeColor="#FF99CC" Text="查询" OnClick="btnSearchOne_Click" />
            &nbsp; <asp:Label ID="lblNo" runat="server" Text="职工编号："></asp:Label>
            <asp:TextBox ID="txtNo" runat="server"></asp:TextBox>
            <asp:Button ID="btnSearchTwo" runat="server" BackColor="#666699" ForeColor="#FF99CC" Text="查询" OnClick="btnSearchTwo_Click" />
            <br />
            <br />
            <br />
            <asp:Label ID="lblGender" runat="server" Text="性别："></asp:Label>
            <asp:DropDownList ID="DropDownList1" runat="server">
                <asp:ListItem>请选择</asp:ListItem>
                <asp:ListItem>男</asp:ListItem>
                <asp:ListItem>女</asp:ListItem>
            </asp:DropDownList>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="lblBirth" runat="server" Text="出生日期："></asp:Label>
            <asp:TextBox ID="txtBirth" runat="server" ></asp:TextBox>
            <br />
            <br />
            <br />
            <asp:Label ID="Label5" runat="server" Text="工资："></asp:Label>
            <asp:TextBox ID="txtSal" runat="server"></asp:TextBox>
            &nbsp;&nbsp;
            <asp:Label ID="Label4" runat="server" Text="联系电话："></asp:Label>
            <asp:TextBox ID="txtTel" runat="server" ></asp:TextBox>
            <br />
            <br />
            <br />
            <asp:Label ID="Label2" runat="server" Text="职务："></asp:Label>
            <asp:TextBox ID="txtJob" runat="server"></asp:TextBox>
            &nbsp;&nbsp;
            <asp:Label ID="Label6" runat="server" Text="联系地址："></asp:Label>
            <asp:TextBox ID="txtAddr" runat="server"></asp:TextBox>
            </div>
        <p style="width: 1365px; text-align: center;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="lblUserMes" runat="server" ForeColor="#0099CC"></asp:Label>
        </p>
        <p style="width: 1365px; text-align: center;">
            <asp:Button ID="btnRead" runat="server" Height="32px" Text="查看职工信息" Width="110px" OnClick="btnRead_Click" BackColor="#666699" ForeColor="#FF99CC" />
        &nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnAdd" runat="server" Height="32px" Text="添加职工信息" Width="110px" BackColor="#666699" ForeColor="#FF99CC" OnClick="btnAdd_Click" />
            &nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnSearch" runat="server" Height="32px" Text="查询职工信息" Width="110px" BackColor="#666699" ForeColor="#FF99CC" OnClick="btnSearch_Click" />
        &nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnUpdate" runat="server" Height="32px" Text="修改职工信息" Width="110px" BackColor="#666699" ForeColor="#FF99CC" OnClick="btnUpdate_Click" ToolTip="请查询对应职工编号再进行修改" />
&nbsp;&nbsp;&nbsp; <asp:Button ID="btnDelete" runat="server" Height="32px" Text="删除职工信息" Width="110px" BackColor="#666699" ForeColor="#FF99CC" OnClick="btnDelete_Click" ToolTip="请查询对应职工编号再进行删除" />
&nbsp; </p>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div style="height: 200px; width: 1365px; text-align: center;">
        <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal" Height="192px" Width="682px">
            <AlternatingRowStyle BackColor="#F7F7F7" />
            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
            <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
            <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
            <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
            <SortedAscendingCellStyle BackColor="#F4F4FD" />
            <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
            <SortedDescendingCellStyle BackColor="#D8D8F0" />
            <SortedDescendingHeaderStyle BackColor="#3E3277" />
        </asp:GridView>
        </div>
&nbsp;<br />
        <br />
        <br />
    </form>
</body>
</html>
